package com.bawei.libs_base.net

import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn (SingletonComponent::class)
object ProvideFactory {
    @Provides
    @Singleton
    fun getApiService():ApiService = RetrofitUtil.retrofit.create(ApiService::class.java)
}